<?php

function smarty_function_js($params, &$smarty) {
    $file=$params['file'];
    return '<script type="text/javascript" src="' . __PUBLIC__. '/Js/' .$file. '"></script>';
}

?>
